<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
import actions from '@/shared/index'
export default {
  name: 'Sub2',
  mounted() {
    actions.onGlobalStateChange((state, prev) => console.log(state, prev), true)
    this.$store.dispatch('app/updateRoles', ['a:all', 'a:list'])
  },
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>
